package com.learn.core.domain.view;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-15 02:39:02
 * @describe VIEW实体类
 */
@TableName("chapter_course_ware_learn")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="ChapterCourseWareLearn对象", description="VIEW")
public class ChapterCourseWareLearn implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "章节名称")
        @TableField("chapter_name")
    private String chapterName;

        @ApiModelProperty(value = "章节目录id")
        @TableField("chapter_item")
    private Integer chapterItem;

        @ApiModelProperty(value = "课程排序")
        @TableField("chapter_seq")
    private String chapterSeq;

        @ApiModelProperty(value = "课件类型1视频")
        @TableField("chapter_type")
    private String chapterType;

        @ApiModelProperty(value = "课程类型1公开2党员")
        @TableField("learn_type")
    private String learnType;

        @ApiModelProperty(value = "页面状态0否")
        @TableField("page_stutes")
    private String pageStutes;

        @ApiModelProperty(value = "控制状态0否")
        @TableField("control_stutes")
    private String controlStutes;

        @ApiModelProperty(value = "下载状态0否")
        @TableField("load_stutes")
    private String loadStutes;

    @TableField("course_id")
    private Integer courseId;

        @ApiModelProperty(value = "课程名称")
        @TableField("course_name")
    private String courseName;

        @ApiModelProperty(value = "学时")
        @TableField("class_hours")
    private String classHours;

        @ApiModelProperty(value = "学习人数")
        @TableField("people")
    private Integer people;

        @ApiModelProperty(value = "课件名字")
        @TableField("courseware_nme")
    private String coursewareNme;

        @ApiModelProperty(value = "课件类型")
        @TableField("courseware_type")
    private String coursewareType;

        @ApiModelProperty(value = "课件时长")
        @TableField("courseware_hours")
    private String coursewareHours;

        @ApiModelProperty(value = "教员姓名")
        @TableField("teacher_name")
    private String teacherName;

        @ApiModelProperty(value = "状态")
        @TableField("courseware_stutes")
    private String coursewareStutes;

        @ApiModelProperty(value = "资源链接")
        @TableField("resources_link")
    private String resourcesLink;

    @TableField("learn_id")
    private Integer learnId;

        @ApiModelProperty(value = "用户id")
        @TableField("user_id")
    private Integer userId;

    @TableField("courseware_id")
    private Integer coursewareId;

        @ApiModelProperty(value = "进度")
        @TableField("speed")
    private Double speed;

        @ApiModelProperty(value = "状态0不可用 1可用")
        @TableField("stutes")
    private String stutes;

    @TableField("chapter_id")
    private Integer chapterId;


    public String getChapterName() {
        return chapterName;
    }

    public ChapterCourseWareLearn setChapterName(String chapterName) {
        this.chapterName = chapterName;
        return this;
    }

    public Integer getChapterItem() {
        return chapterItem;
    }

    public ChapterCourseWareLearn setChapterItem(Integer chapterItem) {
        this.chapterItem = chapterItem;
        return this;
    }

    public String getChapterSeq() {
        return chapterSeq;
    }

    public ChapterCourseWareLearn setChapterSeq(String chapterSeq) {
        this.chapterSeq = chapterSeq;
        return this;
    }

    public String getChapterType() {
        return chapterType;
    }

    public ChapterCourseWareLearn setChapterType(String chapterType) {
        this.chapterType = chapterType;
        return this;
    }

    public String getLearnType() {
        return learnType;
    }

    public ChapterCourseWareLearn setLearnType(String learnType) {
        this.learnType = learnType;
        return this;
    }

    public String getPageStutes() {
        return pageStutes;
    }

    public ChapterCourseWareLearn setPageStutes(String pageStutes) {
        this.pageStutes = pageStutes;
        return this;
    }

    public String getControlStutes() {
        return controlStutes;
    }

    public ChapterCourseWareLearn setControlStutes(String controlStutes) {
        this.controlStutes = controlStutes;
        return this;
    }

    public String getLoadStutes() {
        return loadStutes;
    }

    public ChapterCourseWareLearn setLoadStutes(String loadStutes) {
        this.loadStutes = loadStutes;
        return this;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public ChapterCourseWareLearn setCourseId(Integer courseId) {
        this.courseId = courseId;
        return this;
    }

    public String getCourseName() {
        return courseName;
    }

    public ChapterCourseWareLearn setCourseName(String courseName) {
        this.courseName = courseName;
        return this;
    }

    public String getClassHours() {
        return classHours;
    }

    public ChapterCourseWareLearn setClassHours(String classHours) {
        this.classHours = classHours;
        return this;
    }

    public Integer getPeople() {
        return people;
    }

    public ChapterCourseWareLearn setPeople(Integer people) {
        this.people = people;
        return this;
    }

    public String getCoursewareNme() {
        return coursewareNme;
    }

    public ChapterCourseWareLearn setCoursewareNme(String coursewareNme) {
        this.coursewareNme = coursewareNme;
        return this;
    }

    public String getCoursewareType() {
        return coursewareType;
    }

    public ChapterCourseWareLearn setCoursewareType(String coursewareType) {
        this.coursewareType = coursewareType;
        return this;
    }

    public String getCoursewareHours() {
        return coursewareHours;
    }

    public ChapterCourseWareLearn setCoursewareHours(String coursewareHours) {
        this.coursewareHours = coursewareHours;
        return this;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public ChapterCourseWareLearn setTeacherName(String teacherName) {
        this.teacherName = teacherName;
        return this;
    }

    public String getCoursewareStutes() {
        return coursewareStutes;
    }

    public ChapterCourseWareLearn setCoursewareStutes(String coursewareStutes) {
        this.coursewareStutes = coursewareStutes;
        return this;
    }

    public String getResourcesLink() {
        return resourcesLink;
    }

    public ChapterCourseWareLearn setResourcesLink(String resourcesLink) {
        this.resourcesLink = resourcesLink;
        return this;
    }

    public Integer getLearnId() {
        return learnId;
    }

    public ChapterCourseWareLearn setLearnId(Integer learnId) {
        this.learnId = learnId;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public ChapterCourseWareLearn setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public Integer getCoursewareId() {
        return coursewareId;
    }

    public ChapterCourseWareLearn setCoursewareId(Integer coursewareId) {
        this.coursewareId = coursewareId;
        return this;
    }

    public Double getSpeed() {
        return speed;
    }

    public ChapterCourseWareLearn setSpeed(Double speed) {
        this.speed = speed;
        return this;
    }

    public String getStutes() {
        return stutes;
    }

    public ChapterCourseWareLearn setStutes(String stutes) {
        this.stutes = stutes;
        return this;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public ChapterCourseWareLearn setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
        return this;
    }

    @Override
    public String toString() {
        return "ChapterCourseWareLearn{" +
        "chapterName=" + chapterName +
        ", chapterItem=" + chapterItem +
        ", chapterSeq=" + chapterSeq +
        ", chapterType=" + chapterType +
        ", learnType=" + learnType +
        ", pageStutes=" + pageStutes +
        ", controlStutes=" + controlStutes +
        ", loadStutes=" + loadStutes +
        ", courseId=" + courseId +
        ", courseName=" + courseName +
        ", classHours=" + classHours +
        ", people=" + people +
        ", coursewareNme=" + coursewareNme +
        ", coursewareType=" + coursewareType +
        ", coursewareHours=" + coursewareHours +
        ", teacherName=" + teacherName +
        ", coursewareStutes=" + coursewareStutes +
        ", resourcesLink=" + resourcesLink +
        ", learnId=" + learnId +
        ", userId=" + userId +
        ", coursewareId=" + coursewareId +
        ", speed=" + speed +
        ", stutes=" + stutes +
        ", chapterId=" + chapterId +
        "}";
    }
}